package com.shenfc.fxzj.domain;

import java.util.List;

/**
 * Created by Administrator on 2017/8/8.
 */
public class CyComment {


    /**
     * comments : [{"apptype":0,"attachment":[],"channelid":1068279,"channeltype":1,"cmtid":"1435291459","content":"asdasd","ctime":1502175016000,"from":0,"ip":"115.236.91.15","opcount":0,"referid":"1435291459","replyid":"0","score":0,"spcount":0,"status":0,"user":{"nickname":"默B默Q","sohuPlusId":819572140,"usericon":"http://sucimg.itc.cn/avatarimg/819572140_1497873170622_c55"},"useragent":"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36"}]
     * metadata : {"ChangY_ImgTag":"YES","local_ip":"192.168.241.47"}
     * sourceid : 114
     * title : webService调用气象接口_分享计划
     * ttime : 1502170294000
     * url : http://shenfeichao.top/blog/articles/114
     */

    private String metadata;
    private String sourceid;
    private String title;
    private long ttime;
    private String url;
    private List<CommentsBean> comments;

    public String getMetadata() {
        return metadata;
    }

    public void setMetadata(String metadata) {
        this.metadata = metadata;
    }

    public String getSourceid() {
        return sourceid;
    }

    public void setSourceid(String sourceid) {
        this.sourceid = sourceid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public long getTtime() {
        return ttime;
    }

    public void setTtime(long ttime) {
        this.ttime = ttime;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<CommentsBean> getComments() {
        return comments;
    }

    public void setComments(List<CommentsBean> comments) {
        this.comments = comments;
    }

    public static class CommentsBean {
        /**
         * apptype : 0
         * attachment : []
         * channelid : 1068279
         * channeltype : 1
         * cmtid : 1435291459
         * content : asdasd
         * ctime : 1502175016000
         * from : 0
         * ip : 115.236.91.15
         * opcount : 0
         * referid : 1435291459
         * replyid : 0
         * score : 0
         * spcount : 0
         * status : 0
         * user : {"nickname":"默B默Q","sohuPlusId":819572140,"usericon":"http://sucimg.itc.cn/avatarimg/819572140_1497873170622_c55"}
         * useragent : Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36
         */

        private int apptype;
        private int channelid;
        private int channeltype;
        private String cmtid;
        private String content;
        private long ctime;
        private int from;
        private String ip;
        private int opcount;
        private String referid;
        private String replyid;
        private int score;
        private int spcount;
        private int status;
        private UserBean user;
        private String useragent;
        private List<?> attachment;

        public int getApptype() {
            return apptype;
        }

        public void setApptype(int apptype) {
            this.apptype = apptype;
        }

        public int getChannelid() {
            return channelid;
        }

        public void setChannelid(int channelid) {
            this.channelid = channelid;
        }

        public int getChanneltype() {
            return channeltype;
        }

        public void setChanneltype(int channeltype) {
            this.channeltype = channeltype;
        }

        public String getCmtid() {
            return cmtid;
        }

        public void setCmtid(String cmtid) {
            this.cmtid = cmtid;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public long getCtime() {
            return ctime;
        }

        public void setCtime(long ctime) {
            this.ctime = ctime;
        }

        public int getFrom() {
            return from;
        }

        public void setFrom(int from) {
            this.from = from;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public int getOpcount() {
            return opcount;
        }

        public void setOpcount(int opcount) {
            this.opcount = opcount;
        }

        public String getReferid() {
            return referid;
        }

        public void setReferid(String referid) {
            this.referid = referid;
        }

        public String getReplyid() {
            return replyid;
        }

        public void setReplyid(String replyid) {
            this.replyid = replyid;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public int getSpcount() {
            return spcount;
        }

        public void setSpcount(int spcount) {
            this.spcount = spcount;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public String getUseragent() {
            return useragent;
        }

        public void setUseragent(String useragent) {
            this.useragent = useragent;
        }

        public List<?> getAttachment() {
            return attachment;
        }

        public void setAttachment(List<?> attachment) {
            this.attachment = attachment;
        }

        public static class UserBean {
            /**
             * nickname : 默B默Q
             * sohuPlusId : 819572140
             * usericon : http://sucimg.itc.cn/avatarimg/819572140_1497873170622_c55
             */

            private String nickname;
            private int sohuPlusId;
            private String usericon;

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public int getSohuPlusId() {
                return sohuPlusId;
            }

            public void setSohuPlusId(int sohuPlusId) {
                this.sohuPlusId = sohuPlusId;
            }

            public String getUsericon() {
                return usericon;
            }

            public void setUsericon(String usericon) {
                this.usericon = usericon;
            }
        }
    }
}
